<style  lang="scss">
.scoped-baseinfo{
    table{
        font-size: 14px;
        margin: 0;
        width: 100%;
        background: #fff;
        padding: 5;
        strong{
            font-size: 20px
        }
    }
}
</style>
<template>
    <ui-main class="bg-white">
        <!-- <div slot="header">
            <mt-header title="法规详细">
                <mt-button slot="left" icon=back @click="$router.go(-1)"></mt-button>
            </mt-header>
        </div> -->

        <div class="ui-content">
           <!-- <ui-list title="所属行业">
                {{detail.industry_name}}
            </ui-list>
           <ui-list title="法规标题">
                {{detail.name}}
            </ui-list>
           <ui-list title="检索关键字">
                {{detail.key_word}}
            </ui-list> -->
            <!-- <div class="ui-title" style="background:#fff;"></div> -->
            <div v-if="detail.comments" class="scoped-baseinfo pt08">
                <div v-html="detail.comments"/>
            </div>
    </div>
    </ui-main>
</template>

<script>
export default {
    data(){
        return {
            detail:{}
        }
    },
    mounted(){    
        this.$title('法规详细');   
        this.getLawsDetail()
    },
    methods:{
        getLawsDetail(){
            this.$loading.open()
            this.$http.post('/hidden/lawfiles/findEntity', 
            {id:this.$route.query.id}).then(({
                data
            }) => {
                this.$loading.close();
                this.detail = data
                
            }).catch(() => {
                 this.$loading.close();              
            })
        }
    }
}
</script>

